<script setup>
  import { ref } from 'vue'
  import { useRouter } from 'vue-router'
  const router = useRouter()
  const title = ref('测试活动标题')
</script>

<template>
  <div class="welcome-page">
    <div>{{ title }}</div>
    <van-button
      type="primary"
      @click="router.push({ name: 'home' })"
    >开始答题</van-button>
  </div>
</template>

<style scoped>
.welcome-page{
  text-align: center;
}
</style>
